package com.hopu.petshop.entity;

import java.io.Serializable;

/**
 * 宠物实体类
 */
public class Pet implements Serializable {

    private Integer id;
    private String name;
    private Integer age;
    private String color;
    private String gender;
    private Integer price;
    private Integer type_id;
    private Integer user_id;
    private String image;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getType_id() {
        return type_id;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Pet(Integer id, String name, Integer age, String color, String gender, Integer price, Integer type_id, Integer user_id) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.color = color;
        this.gender = gender;
        this.price = price;
        this.type_id = type_id;
        this.user_id = user_id;
    }

    public Pet(Integer id, String name, Integer age, String color, String gender, Integer price, Integer type_id, Integer user_id, String image) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.color = color;
        this.gender = gender;
        this.price = price;
        this.type_id = type_id;
        this.user_id = user_id;
        this.image = image;
    }

    public Pet() {
    }
}
